/*
Source Code License Agreement
Copyright (c) 2007, Matthew D. Wright. All rights reserved.

Matthew D. Wright grants to you a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable copyright license, to reproduce,
prepare derivative works of, publicly display, publicly perform, and
distribute this source code and such derivative works in source or
object code form without any attribution requirements.

The name "Matthew D. Wright" must not be used to endorse or promote 
products derived from the source code without prior written permission.

You agree to indemnify, hold harmless and defend Matthew D. Wright from 
and against any loss, damage, claims or lawsuits, including attorney's fees 
that arise or result from your use or distribution of the source code.

THIS SOURCE CODE IS PROVIDED "AS IS" AND "WITH ALL FAULTS", WITHOUT
ANY TECHNICAL SUPPORT OR ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ALSO, THERE IS NO WARRANTY OF
NON-INFRINGEMENT, TITLE OR QUIET ENJOYMENT. IN NO EVENT SHALL MACROMEDIA
OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOURCE CODE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package net.nobien.webapis.google.blogger
{
	/**
	 * The Blog class abstracts a Blogger blog.
	 */
    public class Blog
    {
        private var _id:String;
        private var _title:String;
        private var _published:Date;
        private var _updated:Date;
        private var _alternateURL:String;
        private var _preferredURL:String;
        private var _feedURL:String;
        private var _postEndPoint:String;
        private var _authors:Array = new Array();
        private var _contributors:Array = new Array();
        
        /**
        * Constructs a new Blog object.
        */
        public function Blog()
        {
            
        }
        
        /**
        * The blog ID.
        */
        public function get id():String
        {
            return _id;
        }
        
        public function set id( v:String ):void
        {
            _id = v;
        }
        
        /**
        * The blog title.
        */
        public function get title():String
        {
            return _title;
        }
        
        public function set title( v:String ):void
        {
            _title = v;
        }
        
        /**
        * The date which the blog was published.
        */
        public function get published():Date
        {
            return _published;
        }
        
        public function set published( v:Date ):void
        {
            _published = v;
        }
        
        /**
        * The date which the blog was updated.
        */
        public function get updated():Date
        {
            return _updated;
        }
        
        public function set updated( v:Date ):void
        {
            _updated = v;
        }
        
        /**
        * The blog's preferred URL.
        */
        public function get preferredURL():String
        {
            return _preferredURL;
        }
        
        public function set preferredURL( v:String ):void
        {
            _preferredURL = v;
        }
        
        /**
        * The blog's alternate URL.
        */
        public function get alternateURL():String
        {
            return _alternateURL;
        }
        
        public function set alternateURL( v:String ):void
        {
            _alternateURL = v;
        }
        
        /**
        * The blog's POST url.
        */
        public function get postEndPoint():String
        {
            return _postEndPoint;
        }
        
        public function set postEndPoint( v:String ):void
        {
            _postEndPoint = v;
        }
        
        /**
        * The blog's feed url.
        */
        public function get feedURL():String
        {
            return _feedURL;
        }
        
        public function set feedURL( v:String ):void
        {
            _feedURL = v;
        }
        
        /**
        * The blog's authors.
        */
        public function get authors():Array
        {
            return _authors;
        }
        
        public function set authors( v:Array ):void
        {
            _authors = v;
        }
        
        /**
        * The blog's contributors.
        */
        public function get contributors():Array
        {
            return _contributors;
        }
        
        public function set contributors( v:Array ):void
        {
            _contributors = v;
        }
        
    }
}